import { createApp } from 'vue'
import App from './App.vue'

import zhCn from "element-plus/es/locale/lang/zh-cn";
import router from "./router/index";

// 全局引入css
import 'normalize.css' // 归一化
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import '../style/headtap.css'


const app = createApp(App);

app.use(ElementPlus, {locale: zhCn});
app.use(router);

// 请求地址
import urls from '../api/api.js'
app.config.globalProperties.$urls = urls;
// 请求方法
import request from "../api/request";
app.config.globalProperties.$request = request;

// 弹窗
import tips from "../config/Tips";
app.config.globalProperties.$tips = tips;

app.mount('#app');
